<div class='fui-page  fui-page-current article-list-page' ng-if="pagedata.op=='list'">
	<div class="fui-header">
		<div class="fui-header-left">
			<a class="back" href="javascript:;" ng-click="access_json('/home.welcome/')"></a>
		</div>
		<div class="title"><a href="javascript:;" ng-click="access_json('/home.welcome/')">{{pagedata.site.name}}</a></div>
		<div class="fui-header-right"></div>
	</div>
	<div class='fui-content'>
			<div class="fui-article-list template-2">
				<div class="fui-tab-scroll">
					<div class='xcontainer'>
						<span class="item"><a ng-class="{'jylabel jylabel-f60-0':1,'active':pagedata.groupid == 0}" href="javascript:;" ng-click="access_json('/home.news/','id=0')">全部分类</a></span>
						<span ng-repeat="item in pagedata.groups" class="item"><a ng-class="{'jylabel jylabel-f60-0':1,'active':pagedata.groupid == item.id}" href="javascript:;" ng-click="access_json('/home.news/','id='+item.id)">{{item.title}}</a></span>
					</div>
				</div>
				<div class="fui-list-group">
					<div class="list-number" ng-repeat="item in pagedata.list">
							<a class="fui-list " href="javascript:;" ng-click="access_json('/home.news/detail','id='+item.id)">
								<div class="fui-list-media">
									<img class="round" src="{{tomedia(item.image) || '../core/resource/images/nopic.jpg'}}">
								</div>
								<div class="fui-list-inner">
									<div class="title">{{item.title}}</div>
									<div class="text">{{item.desc}} ... ...</div>
								</div>
								<div class="fui-list-angle">
									<div class="angle"></div>
								</div>
							</a>
					</div>
				</div>  
			</div>
	    <div class="fui-message fui-message-popup in content-empty" ng-show="!pagedata.list" style="margin-top: 0; position: relative; height: auto; background: none;">
				<div class="icon ">
					<i class="icon icon-information"></i>
				</div>
				<div class="content">未找到文章~</div>
		</div>
		
	</div>
</div>

<div class='fui-page  fui-page-current article-index-page' ng-if="pagedata.op=='detail'">
	<div class='fui-content'>
		<div class="fui-article-page">
			<div class="fui-article-title">{{pagedata.new.title}}</div>
			<div class="fui-article-subtitle"><a onclick="$('#followbar').modal();">{{pagedata.site.name}}</a> 发布时间: {{pagedata.new.createtime}}</div>
			<!-- 关注提示 -->
				<div class="fui-list-group external" onclick="$('#followbar').modal();">
					<div class="fui-list">
						<div class="fui-list-media">
							<img class="round" src="{{tomedia(pagedata.site.logo) || '../core/resource/images/nopic.jpg'}}">
						</div>
						<div class="fui-list-inner">
							<div class="title">{{pagedata.site.title}}</div>
							<div class="subtitle">{{pagedata.site.description}}</div>
						</div>
						<div class="fui-list-angle" style="width: 3rem; margin-right: 0;display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; flex-shrink: 0; flex-wrap: nowrap;">
							<div class="btn btn-sm btn-success" onclick="$('#followbar').modal();"><i class="fa fa-plus"></i> 关注</div>
						</div>
					</div>
				</div>
			<div class="fui-article-content" ng-bind-html="trust(pagedata.new.content)"></div>
			<div class="fui-article-subtitle">
				<div class="nav"><i class="fa fa-user"></i> {{pagedata.new.readnum}} </div>
				<div class="nav padding">
					<i class="fa fa-heart-o"></i>
					<span>{{pagedata.new.likenum}}</span>
				</div>
			</div>
			
		</div>
	</div>
</div>
	<div id="followbar"  class="modal fade" tabindex="-1" style="z-index:99999;display:none;width:100%">
		<div class="modal-dialog text-center" style="width:180px">
			<div class="wap-qrcode-container">
				<p class="example1">{{pagedata.site.name}}--智能全网平台！</p>
				<div class="wap-qrcode-image">
					<img ng-src="{{tomedia(pagedata.site.ewm) || '../core/resource/images/nopic.jpg'}}"/>
				</div>
				<p class="example1">长按二维码关注</p>
			</div>
		</div>
	</div>